home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1991 …esperately Seeking Seven / Desperately Seeking Seven.2mg / Dev.CD.8 / Essentials / Interfaces / APW.Interfaces / AInclude / E16.Control < prev    next >
Encoding:
Text File  |  1990-06-30  |  6.0 KB  |  185 lines  |  [04] ASCII Text (0x0000)

  1. ; File:  E16.Control
  2. ;
  3. ;
  4. ; Copyright Apple Computer, Inc. 1986-90
  5. ; All Rights Reserved
  6. ;
  7. ;
  8. noConstraint GEQU $0000 ; No constraint on movement.
  9. hAxisOnly GEQU $0001 ; Horizontal axis only.
  10. vAxisOnly GEQU $0002 ; Vertical axis only.
  11. simpRound GEQU $0000 ; Simple button flag
  12. upFlag GEQU $0001 ; Scroll bar flag. 
  13. boldButton GEQU $0001 ; Bold round cornered outlined button.
  14. simpBRound GEQU $0001 ; Simple button flag
  15. downFlag GEQU $0002 ; Scroll bar flag.
  16. simpSquare GEQU $0002 ; Simple button flag
  17. simpDropSquare GEQU $0003 ; Simple button flag
  18. leftFlag GEQU $0004 ; Scroll bar flag.
  19. rightFlag GEQU $0008 ; Scroll bar flag.
  20. dirScroll GEQU $0010 ; Scroll bar flag.
  21. horScroll GEQU $0010 ; Scroll bar flag.
  22. family GEQU $007F ; Mask for radio button family number
  23. ctlInVis GEQU $0080 ; invisible mask for any type of control 
  24. fCallWindowMgr GEQU $0001 ; Control Template flag value
  25. fSubstituteText GEQU $0002
  26. fSubTextType GEQU $0001
  27. inListBox GEQU $88
  28. simpleProc GEQU $00000000
  29. checkProc GEQU $02000000
  30. radioProc GEQU $04000000
  31. scrollProc GEQU $06000000
  32. growProc GEQU $08000000
  33. drawCtl GEQU $0000 ; Draw control command.
  34. calcCRect GEQU $0001 ; Compute drag RECT command.
  35. testCtl GEQU $0002 ; Hit test command.
  36. initCtl GEQU $0003 ; Initialize command.
  37. dispCtl GEQU $0004 ; Dispose command.
  38. posCtl GEQU $0005 ; Move indicator command.
  39. thumbCtl GEQU $0006 ; Compute drag parameters command.
  40. dragCtl GEQU $0007 ; Drag command.
  41. autoTrack GEQU $0008 ; Action command.
  42. newValue GEQU $0009 ; Set new value command.
  43. setParams GEQU $000A ; Set new parameters command.
  44. moveCtl GEQU $000B ; Move command.
  45. recSize GEQU $000C ; Return record size command.
  46. ctlHandleEvent GEQU $000D ; Handle a keystroke or menu selection
  47. ctlChangeTarget GEQU $000E ; Issued when control's target status has changed
  48. ctlChangeBounds GEQU $000F ; Issued when control's boundary rectangle has changed
  49. ctlWindChangeSize GEQU $0010 ; Window has been grown or zoomed
  50. ctlHandleTab GEQU $0011 ; Control has been tabbed to
  51. ctlNotifyMultiPart GEQU $0012 ; A multipart control has been hidden, drawn or shown
  52. ctlWinStateChange GEQU $0013 ; Window state has changed
  53. noHilite GEQU $0000 ; Param to HiliteControl
  54. inactiveHilite GEQU $00FF ; Param to HiliteControl
  55. noPart GEQU $0000
  56. simpleButton GEQU $0002
  57. checkBox GEQU $0003
  58. radioButton GEQU $0004
  59. upArrow GEQU $0005
  60. downArrow GEQU $0006
  61. pageUp GEQU $0007
  62. pageDown GEQU $0008
  63. growBox GEQU $000A
  64. thumb GEQU $0081
  65. fCtlTarget GEQU $8000 ; is current target of typing commands
  66. fCtlCanBeTarget GEQU $4000 ; can be made the target control
  67. fCtlWantEvent GEQU $2000 ; control can be called view SendEventToCtl
  68. fCtlWantsEvent GEQU $2000 ; control can be called view SendEventToCtl
  69. fCtlWantEvents GEQU $2000 ; control can be called view SendEventToCtl
  70. fCtlWantsEvents GEQU $2000 ; control can be called view SendEventToCtl
  71. fCtlProcRefNotPtr GEQU $1000 ; set = ID of defproc, clear = pointer to defproc
  72. fCtlTellAboutSize GEQU $0800 ; set if ctl needs notification when size of owning window changes
  73. fCtlIsMultiPart GEQU $0400 ; set if ctl needs notification to be hidden
  74. fMenuDefIsText GEQU $0004
  75. colorDescriptor GEQU $000C ; indicates type of reference in colorRef
  76. styleDescriptor GEQU $0003 ; indicates type of reference in styleRef
  77. titleIsPtr GEQU $00
  78. titleIsHandle GEQU $01
  79. titleIsResource GEQU $02
  80. colorTableIsPtr GEQU $00
  81. colorTableIsHandle GEQU $04
  82. colorTableIsResource GEQU $08
  83. ctlHideCtl GEQU $12
  84. singlePtr GEQU $0000
  85. singleHandle GEQU $0001
  86. singleResource GEQU $0002
  87. ptrToPtr GEQU $0003
  88. ptrToHandle GEQU $0004
  89. ptrToResource GEQU $0005
  90. handleToPtr GEQU $0006
  91. handleToHandle GEQU $0007
  92. handleToResource GEQU $0008
  93. resourceToResource GEQU $0009
  94. simpleButtonControl GEQU $80000000
  95. checkControl GEQU $82000000
  96. radioControl GEQU $84000000
  97. scrollBarControl GEQU $86000000
  98. growControl GEQU $88000000
  99. statTextControl GEQU $81000000
  100. editLineControl GEQU $83000000
  101. editTextControl GEQU $85000000
  102. popUpControl GEQU $87000000
  103. listControl GEQU $89000000
  104. iconButtonControl GEQU $07FF0001
  105. pictureControl GEQU $8D000000
  106. wmNotStartedUp GEQU $1001 ; Window manager was not initialized
  107. cmNotInitialized GEQU $1002 ; Control manager was not initialized
  108. noCtlInList GEQU $1003 ; Control not in window list
  109. noCtlError GEQU $1004 ; no controls in window
  110. noSuperCtlError GEQU $1005 ; no super controls in window
  111. noCtlTargetError GEQU $1006 ; no target super control
  112. notSuperCtlError GEQU $1007 ; action can only be done on super control
  113. canNotBeTargetError GEQU $1008 ; conrol cannot be made target
  114. noSuchIDError GEQU $1009 ; specified ID cannot be found
  115. tooFewParmsError GEQU $100A ; not enough params specified
  116. noCtlToBeTargetError GEQU $100B ; NextCtl call, no ctl could be target
  117. noFrontWindowError GEQU $100C ; there is no front window
  118. selectedIcon GEQU $0001
  119. openIcon GEQU $0002
  120. offline GEQU $0004
  121. fListString GEQU $0001
  122. fListSelect GEQU $0002
  123. fListScrollBar GEQU $0004
  124. fRightJustifyResult GEQU $0001
  125. fRightJustifyTitle GEQU $0002
  126. fInWindowOnly GEQU $0004
  127. fDontDrawResult GEQU $0008
  128. fDontDrawTitle GEQU $0010
  129. fDontHiliteTitle GEQU $0020
  130. fType2PopUp GEQU $0040
  131. ; offset constants for BarColors
  132. obarOutline GEQU 0
  133. obarNorArrow GEQU 2
  134. obarSelArrow GEQU 4
  135. obarArrowBack GEQU 6
  136. obarNorThumb GEQU 8
  137. obarSelThumb GEQU 10
  138. obarPageRgn GEQU 12
  139. obarInactive GEQU 14
  140. ; offset constants for BoxColors
  141. oboxReserved GEQU 0
  142. oboxNor GEQU 2
  143. oboxSel GEQU 4
  144. oboxTitle GEQU 6
  145. ; offset constants for BttnColors
  146. obttnOutline GEQU 0
  147. obttnNorBack GEQU 2
  148. obttnSelBack GEQU 4
  149. obttnNorText GEQU 6
  150. obttnSelText GEQU 8
  151. ; offset constants for CtlRec
  152. octlNext GEQU 0
  153. octlOwner GEQU 4
  154. octlRect GEQU 8
  155. octlFlag GEQU 16
  156. octlHilite GEQU 17
  157. octlValue GEQU 18
  158. octlProc GEQU 20
  159. octlAction GEQU 24
  160. octlData GEQU 28
  161. octlRefCon GEQU 32
  162. octlColor GEQU 36
  163. octlReserved GEQU 40
  164. octlID GEQU 56
  165. octlMoreFlags GEQU 60
  166. octlVersion GEQU 62
  167. ; offset constants for LimitBlk
  168. oboundRect GEQU 0
  169. oslopRect GEQU 8
  170. oaxisParam GEQU 16
  171. odragPatt GEQU 18
  172. ; offset constants for RadioColors
  173. oradReserved GEQU 0
  174. oradNor GEQU 2
  175. oradSel GEQU 4
  176. oradTitle GEQU 6
  177. ; offset constants for ControlTemplate
  178. opCount GEQU 0
  179. oID GEQU 2
  180. orect GEQU 6
  181. oprocRef GEQU 14
  182. oflag GEQU 18
  183. omoreFlags GEQU 20
  184. orefCon GEQU 22
  185.